package com.example.pojo;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 会议室使用申请表
* </p>
*
* @author wsl
* @since 2022-05-16
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "ChamberPy对象", description = "会议室使用申请表")
public class Meeting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("流程编号")
    private String processId;

    @ApiModelProperty("会议主题")
    private String topic;

    @ApiModelProperty("申请人")
    private Integer empId;

    @ApiModelProperty("会议召集人")
    private String host;

    @ApiModelProperty("申请部门")
    private Integer deptId;

    @ApiModelProperty("会议人数")
    private Integer peopleNum;

    @ApiModelProperty("会议人员")
    private String presentMember;

    @ApiModelProperty("会议人员集合")
    @TableField(exist = false)
    private List<String> people;

    @ApiModelProperty("会议室编号")
    private Integer chamberId;

    @ApiModelProperty("会议地点")
    @TableField(exist = false)
    private String place;

    @ApiModelProperty("预计会议开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "Asia/Shanghai")
    private LocalDateTime startTime;

    @ApiModelProperty("预计结束开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "Asia/Shanghai")
    private LocalDateTime endTime;

    @ApiModelProperty("物质及需求")
    private String requires;

    @ApiModelProperty("当前状态")
    private Integer status;

//    @ApiModelProperty("当前节点")
//    private String node;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
